#ifndef PLAYER_H
#define PLAYER_H

#include "Event.h"
#include "Shot.h"
#include "Time.h"
#include <vector>
#include <string>
class Player
{
  public:
  Player();
  Player(int);
  Player(int, string);

  bool operator== (Player P2);
//Get Stuff

  int getPlayerPoints();
  int getPlayerNumber();
  string getPlayerName();
  int getPointsByPer(int per);
  int getShotAttempts(int filterPoints);
  int getShotSuccess(int filterPoints);
  int countPlayerEvents(string eventType);

//Set Stuff
  void setPlayerNumber(int number);	
  void incPlayerPoints(int points);
  void addShot(Shot * ptrToShot); 
  void addPlayerEvent(Event * somePlayerEvent);
  double getShotPercent(int filterPoints);

  private:
  int m_jersey;
  int m_points;
  vector<Shot> playerShots;
  vector<Event*> playerEvents;
  string m_name;
};

#endif
